<template>
  <div class="backtop" @click="backtopclick">
       <img src="~assets/img/common/top.png" alt="" />
  </div>
</template>

<script>
export default {
  name: "backtop",
  data() {
    return {
     
    };
  },props:{
     
  },methods: {
    backtopclick(){
        console.log("nengjianting")
        this.$emit("backtopclick");
    }
  }
};
</script>

<style scoped>
.backtop{
  position: fixed;
  right: 10px;
  bottom: 60px;
}
.backtop img{
  width:43px;
  height: 43px;
}

</style>